package com.work.service;

import com.work.bean.Middle;

import java.util.HashMap;
import java.util.List;

/**
 * Created by Administrator on 2017/10/7.
 */
public interface MiddleService {

    public abstract boolean insertMiddle(Middle middle);

    public abstract String getFinish(int workId);

    public abstract List<Middle> findByFinish(int finish,int workId);

    public abstract List<Middle> findByWorkId(int workId);

    public abstract HashMap<Integer,List> pageByFinish(int countPage, int whichPage,int isFinish,int workId);

    public abstract HashMap<Integer,List> pageByStudentId(int countPage, int whichPage,int isFinish,int studentId);

    public abstract boolean updateMiddle(Middle middle);

    public abstract boolean updateGrade(Middle middle);



}
